Python Dictionary update value if key exists